<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="/js/vue.min.js"></script>
    <script src="/js/elementui.min.js"></script>
    <link rel="stylesheet" href="/css/elementui.min.css">
    
    
</head>
<body>
    <div id="app">
        <h1 v-text="message"></h1>
        <el-button @click="btnclk">点我呀</el-button>
        <el-tabs v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="用户管理" name="first">用户管理</el-tab-pane>
            <el-tab-pane label="配置管理" name="second">配置管理</el-tab-pane>
            <el-tab-pane label="角色管理" name="third">角色管理</el-tab-pane>
            <el-tab-pane label="定时任务补偿" name="fourth">定时任务补偿</el-tab-pane>
          </el-tabs>
    </div>
    <script>
        var app = new Vue({
            el: '#app',
            data: {
                message: 'Hello Vue!',
                activeName:'first'
            },
            methods: {
                btnclk: function () {
                    this.$alert('Hello')
                },
                handleClick: function (tab, event) {
                    console.log(tab, event)
                }
            }
        })
    </script>
</body>
</html>